<template>
  <div class="stagetooltip">
    <div class="title"><p>提示</p></div>
    <div class="title_div">
      <p>之前编辑的模板，是否继续使用</p>
      <p>模板名：{{ title }}</p>
    </div>
    <div class="amendsort_tool">
      <div class="amendsort_tools">
        <div class="amendsort_confirm" @click="amendsortaddOkClick(1)">
          确定
        </div>
        <div class="amendsort_cancel" @click="amendsortaddOkClick(0)">取消</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: {
    title: String,
  },
  methods: {
    //返回是否要切换
    amendsortaddOkClick(val) {
      //ok - 继续 no - 不进行
      this.$emit("childClick", val);
    },
  },
};
</script>

<style lang="less" scoped>
@import "../../assets/styles/frame.less";
.stagetooltip{
    height:  170px !important;
.title_div {
  .divDWJ();
  p{
  padding-top:8px ;

  }
}
}
</style>